<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>{$pcarticle.y_title}</title>
<link rel="stylesheet" href="/IndexPublic/vhuiketing/css/mobilestyle.css" type="text/css">
<script type="text/javascript" src="/IndexPublic/vhuiketing/js/jquery-1.12.3.min.js"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<style type="text/css">
.rescontent{font-size: 16px; line-height: 24px; color: #666;}
.rescontent *{margin: 0px; padding: 0px;}
.rescontent img{width: 100%; margin: 6px 0px;}
.time-item p{border-bottom: none;}
.video-box{margin: 10px; margin-top: 0px;}
</style>
</head>
<body>

<div class="banner banner2"><a href="http://h5.hrtv.cn/Home/Yangsheng/index/type/27.html"><img src="/IndexPublic/vhuiketing/img/test01.jpg"></a></div>
<div class="passenger-box">
    <div class="name-item">
        <i style="font-size:22px; margin-left: -8px;">《华人V会客厅》专访</i>
        <em style="font-size:18px;">{$pcarticle.y_title} {$pcarticle.y_pname}</em>
    </div>
    <div class="time-item">
        <p>发布时间：<span>{$pcarticle.y_datetime}</span>| 来源：<i>华人频道</i></p>
    </div>
</div>
<div class="video-box">
    <if condition="$ismobile eq 1">
        <video src="http://vf.hrtv.cn/video/{$pcarticle.videofilename}.mp4" width="100%" height="225" style="background: url({:C('WEBDOMAIN')}{$pcarticle.y_img}); background-repeat:no-repeat; background-size:cover; background-position:top center;" controls="controls" preload="preload">your browser does not support the video tag</video>
        <else />
        <iframe scrolling="no" frameborder="0" src="{$pcarticle.y_vurl}" style="width: 640px; height: 400px; margin: 0px auto; clear: both; display: block; margin-top: 15px;"></iframe>
    </if>
    <div class="rescontent">{$pcarticle.content}</div>
</div>
<div class="by"><img src="/IndexPublic/vhuiketing/img/by.jpg"></div>
<script type="text/javascript">
    wx.config({
        debug: false,
        appId: '{$signPackage.appId}',
        timestamp: '{$signPackage.timestamp}',
        nonceStr: '{$signPackage.nonceStr}',
        signature: '{$signPackage.signature}',
        jsApiList: ['onMenuShareTimeline', 'onMenuShareAppMessage']
    });
    wx.ready(function () {
        // 1 判断当前版本是否支持指定 JS 接口，支持批量判断
        wx.checkJsApi({
            jsApiList: [
                'getNetworkType',
                'previewImage',
                'onMenuShareTimeline',
                'onMenuShareAppMessage',
                'onMenuShareQQ',
                'onMenuShareWeibo'
            ],
            success: function (res) {
                //alert(JSON.stringify(res));
            }
        });
        var shareData = {
            title: '《华人V会客厅》专访：{$pcarticle.y_pname}',
            desc: '{$pcarticle.y_title} {$pcarticle.y_zhiwu}',
            link: '{$postiurl}',
            imgUrl: 'http://h5.hrtv.cn{$pcarticle.y_img}',
            trigger: function (res) {
                //alert('用户点击发送给朋友');
            },
            success: function (res) {
                //alert('已分享');
            },
            cancel: function (res) {
                //alert('已取消');
            },
            fail: function (res) {
                //alert(JSON.stringify(res));
            }
        };
        wx.onMenuShareAppMessage(shareData);
        wx.onMenuShareTimeline(shareData);
        wx.onMenuShareQQ(shareData);
        wx.onMenuShareWeibo(shareData);
    });
    wx.error(function (res) {
        alert(res.errMsg);
    });
</script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?ec13ec26ac9c3cac83adc9ce716f370d";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</body>
</html>